import request from '@/utils/request'

// 查询数据集合体列表
export function listDataCollection(query) {
  return request({
    url: '/ybyj/dataCollection/list',
    method: 'get',
    params: query
  })
}

// 查询数据集合体详细
export function getDataCollection(id) {
  return request({
    url: '/ybyj/dataCollection/' + id,
    method: 'get'
  })
}

// 新增数据集合体
export function addDataCollection(data) {
  return request({
    url: '/ybyj/dataCollection',
    method: 'post',
    data: data
  })
}

// 修改数据集合体
export function updateDataCollection(data) {
  return request({
    url: '/ybyj/dataCollection',
    method: 'put',
    data: data
  })
}

// 删除数据集合体
export function delDataCollection(id) {
  return request({
    url: '/ybyj/dataCollection/' + id,
    method: 'delete'
  })
}


